package cn.rxls.community.mapper;

import cn.rxls.community.entity.ResourceUsage;
import cn.rxls.community.vo.resourceUsage.ResourceUsageVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 资源使用(ResourceUsage)表数据库访问层
 *
 */
@Mapper
public interface ResourceUsageMapper extends BaseMapper<ResourceUsage> {

    /**
     * 分页查询资源使用
     * @param page 第几页
     * @param size 查询几个
     * @param resourceUsage 参数对象
     * @return 多条信息
     */
    List<ResourceUsageVO> selectPageResourceUsage(@Param("page") Integer page,@Param("size") Integer size,@Param("resource") ResourceUsage resourceUsage );

}

